package com.ls.lserp.dbaccess.Entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.ls.lserp.common.persistence.DataEntity;
import com.ls.lserp.modules.setting.entity.Ognization;

public class OgnizationSettlementEntity extends DataEntity<OgnizationSettlementEntity>{
	//集合
	private List<OgnizationSettlementEntity> settlementList;
	//组织类
	private Ognization ognization;
	//主键ID
    private Long settlementId;
    //对应机构ID
    private long ognizationId;
    //期初借方余额 = 上一期期末实际借方金额
    private BigDecimal initialDebitAmount;
    //期初贷方余额 = 上一期期末实际贷方金额
    private BigDecimal initialCreditAmount;
    //业务期间（YYYYMM）
    private Date financePeriod;
    //业务期间（YYYYMM）Str
    private String financePeriodStr;
    //货币类别
    private String financeCurrency;
    //本期借方金额
    private BigDecimal periodDebitAmount;
    //本期贷方金额
    private BigDecimal periodCreditAmount;
    //实际借方金额 = 期初借方余额  + 本期借方金额
    private BigDecimal realDebitAmount;
    //实际贷方金额 = 期初贷方余额  + 本期贷方金额
    private BigDecimal realCreditAmount;
    //结算余额 = 实际贷方金额 - 实际借方金额
    private BigDecimal settlementBalance;
    //期初财务区分
    private int initFinanceFlag;
    //业务期间(年)
    private String dateYear;
    //业务期间(月)
    private String dateMonth;
    //业务类别（采购 外发 订单 预付款 样品等等）
    private String financeCategory;
    //结算登录日期
    private Date financeDate;
    //
    private String accountsStatus;
    //
    private String auditStatus;
    //tab页状态
    private int tabPageStatus;
	
	public int getTabPageStatus() {
		return tabPageStatus;
	}
	public void setTabPageStatus(int tabPageStatus) {
		this.tabPageStatus = tabPageStatus;
	}
	
	/**
	 * @return the ognization
	 */
	public Ognization getOgnization() {
		return ognization;
	}
	/**
	 * @param ognization the ognization to set
	 */
	public void setOgnization(Ognization ognization) {
		this.ognization = ognization;
	}
	/**
	 * @return the settlementId
	 */
	public Long getSettlementId() {
		return settlementId;
	}
	/**
	 * @param settlementId the settlementId to set
	 */
	public void setSettlementId(Long settlementId) {
		this.settlementId = settlementId;
	}
	/**
	 * @return the ognizationId
	 */
	public long getOgnizationId() {
		return ognizationId;
	}
	/**
	 * @param ognizationId the ognizationId to set
	 */
	public void setOgnizationId(long ognizationId) {
		this.ognizationId = ognizationId;
	}
	/**
	 * @return the initialDebitAmount
	 */
	public BigDecimal getInitialDebitAmount() {
		return initialDebitAmount;
	}
	/**
	 * @param initialDebitAmount the initialDebitAmount to set
	 */
	public void setInitialDebitAmount(BigDecimal initialDebitAmount) {
		this.initialDebitAmount = initialDebitAmount;
	}
	/**
	 * @return the initialCreditAmount
	 */
	public BigDecimal getInitialCreditAmount() {
		return initialCreditAmount;
	}
	/**
	 * @param initialCreditAmount the initialCreditAmount to set
	 */
	public void setInitialCreditAmount(BigDecimal initialCreditAmount) {
		this.initialCreditAmount = initialCreditAmount;
	}
	/**
	 * @return the financePeriod
	 */
	public Date getFinancePeriod() {
		return financePeriod;
	}
	/**
	 * @param financePeriod the financePeriod to set
	 */
	public void setFinancePeriod(Date financePeriod) {
		this.financePeriod = financePeriod;
	}
	/**
	 * @return the financePeriodStr
	 */
	public String getFinancePeriodStr() {
		return financePeriodStr;
	}
	/**
	 * @param financePeriodStr the financePeriodStr to set
	 */
	public void setFinancePeriodStr(String financePeriodStr) {
		this.financePeriodStr = financePeriodStr;
	}
	/**
	 * @return the periodDebitAmount
	 */
	public BigDecimal getPeriodDebitAmount() {
		return periodDebitAmount;
	}
	/**
	 * @param periodDebitAmount the periodDebitAmount to set
	 */
	public void setPeriodDebitAmount(BigDecimal periodDebitAmount) {
		this.periodDebitAmount = periodDebitAmount;
	}
	/**
	 * @return the periodCreditAmount
	 */
	public BigDecimal getPeriodCreditAmount() {
		return periodCreditAmount;
	}
	/**
	 * @param periodCreditAmount the periodCreditAmount to set
	 */
	public void setPeriodCreditAmount(BigDecimal periodCreditAmount) {
		this.periodCreditAmount = periodCreditAmount;
	}
	/**
	 * @return the realDebitAmount
	 */
	public BigDecimal getRealDebitAmount() {
		return realDebitAmount;
	}
	/**
	 * @param realDebitAmount the realDebitAmount to set
	 */
	public void setRealDebitAmount(BigDecimal realDebitAmount) {
		this.realDebitAmount = realDebitAmount;
	}
	/**
	 * @return the realCreditAmount
	 */
	public BigDecimal getRealCreditAmount() {
		return realCreditAmount;
	}
	/**
	 * @param realCreditAmount the realCreditAmount to set
	 */
	public void setRealCreditAmount(BigDecimal realCreditAmount) {
		this.realCreditAmount = realCreditAmount;
	}
	/**
	 * @return the settlementBalance
	 */
	public BigDecimal getSettlementBalance() {
		return settlementBalance;
	}
	/**
	 * @param settlementBalance the settlementBalance to set
	 */
	public void setSettlementBalance(BigDecimal settlementBalance) {
		this.settlementBalance = settlementBalance;
	}
	/**
	 * @return the dateYear
	 */
	public String getDateYear() {
		return dateYear;
	}
	/**
	 * @param dateYear the dateYear to set
	 */
	public void setDateYear(String dateYear) {
		this.dateYear = dateYear;
	}
	/**
	 * @return the dateMonth
	 */
	public String getDateMonth() {
		return dateMonth;
	}
	/**
	 * @param dateMonth the dateMonth to set
	 */
	public void setDateMonth(String dateMonth) {
		this.dateMonth = dateMonth;
	}
	/**
	 * @return the financeCategory
	 */
	public String getFinanceCategory() {
		return financeCategory;
	}
	/**
	 * @param financeCategory the financeCategory to set
	 */
	public void setFinanceCategory(String financeCategory) {
		this.financeCategory = financeCategory;
	}
	/**
	 * @return the financeCurrency
	 */
	public String getFinanceCurrency() {
		return financeCurrency;
	}
	/**
	 * @param financeCurrency the financeCurrency to set
	 */
	public void setFinanceCurrency(String financeCurrency) {
		this.financeCurrency = financeCurrency;
	}
	/**
	 * @return the financeDate
	 */
	public Date getFinanceDate() {
		return financeDate;
	}
	/**
	 * @param financeDate the financeDate to set
	 */
	public void setFinanceDate(Date financeDate) {
		this.financeDate = financeDate;
	}
	/**
	 * @return the accountsStatus
	 */
	public String getAccountsStatus() {
		return accountsStatus;
	}
	/**
	 * @param accountsStatus the accountsStatus to set
	 */
	public void setAccountsStatus(String accountsStatus) {
		this.accountsStatus = accountsStatus;
	}
	/**
	 * @return the auditStatus
	 */
	public String getAuditStatus() {
		return auditStatus;
	}
	/**
	 * @param auditStatus the auditStatus to set
	 */
	public void setAuditStatus(String auditStatus) {
		this.auditStatus = auditStatus;
	}
	/**
	 * @return the initFinanceFlag
	 */
	public int getInitFinanceFlag() {
		return initFinanceFlag;
	}
	/**
	 * @param initFinanceFlag the initFinanceFlag to set
	 */
	public void setInitFinanceFlag(int initFinanceFlag) {
		this.initFinanceFlag = initFinanceFlag;
	}
	/**
	 * @return the settlementList
	 */
	public List<OgnizationSettlementEntity> getSettlementList() {
		return settlementList;
	}
	/**
	 * @param settlementList the settlementList to set
	 */
	public void setSettlementList(List<OgnizationSettlementEntity> settlementList) {
		this.settlementList = settlementList;
	}
	
    
}